Program to check whether given number is binary or not